// 实现一个函数ex2，能够使用fp.first获取列表的第一个元素

const { first } = require('lodash/fp')
const { Container } = require('./support')

let xs = Container.of(['do', 'ray', 'me', 'fa', 'so', 'la', 'ti', 'do'])
let ex2 = functor => functor.map(first)
console.log(ex2(xs))
